using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._Raster._MosaicDataset
{
    /// <summary>
    /// <para>Split Mosaic Dataset Items</para>
    /// <para>Splits mosaic dataset items that were merged together using Merge Mosaic Dataset Items.</para>
    /// <para>拆分使用合并镶嵌数据集项合并在一起的镶嵌数据集项。</para>
    /// </summary>    
    [DisplayName("Split Mosaic Dataset Items")]
    public class SplitMosaicDatasetItems : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public SplitMosaicDatasetItems()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_mosaic_dataset">
        /// <para>Mosaic Dataset</para>
        /// <para>The mosaic dataset containing the items to split.</para>
        /// <para>包含要拆分的项目的镶嵌数据集。</para>
        /// </param>
        public SplitMosaicDatasetItems(object _in_mosaic_dataset)
        {
            this._in_mosaic_dataset = _in_mosaic_dataset;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Split Mosaic Dataset Items";

        public override string CallName => "management.SplitMosaicDatasetItems";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_mosaic_dataset, _where_clause, _out_mosaic_dataset];

        /// <summary>
        /// <para>Mosaic Dataset</para>
        /// <para>The mosaic dataset containing the items to split.</para>
        /// <para>包含要拆分的项目的镶嵌数据集。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Mosaic Dataset")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_mosaic_dataset { get; set; }


        /// <summary>
        /// <para>Query Definition</para>
        /// <para><xdoc>
        ///   <para>An SQL expression to select items to split.</para>
        ///   <para>If the query does not contain any previously merged items, the tool will return an error.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>用于选择要拆分的项的 SQL 表达式。</para>
        ///   <para>如果查询不包含任何以前合并的项目，则该工具将返回错误。</para>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Query Definition")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _where_clause { get; set; } = null;


        /// <summary>
        /// <para>Updated Mosaic Dataset</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Mosaic Dataset")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_mosaic_dataset { get; set; }


        public SplitMosaicDatasetItems SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}